package com.woniuxy.info.sys.exception;


import com.woniuxy.info.sys.result.enums.IErrorCode;

public class BusinessException extends RuntimeException {
    private IErrorCode errorCode;
    public IErrorCode getErrorCode() {
        return errorCode;
    }
    public BusinessException() {
    }
    public BusinessException(IErrorCode errorCode) {
        this.errorCode = errorCode;
    }
}